
<h2>Create a Message</h2>
<p>Create a message, it will show up in "Get Messages".</p>
<form id='message'>
  <table>
    <tr>
      <td>From:</td>
      <td><input type='text' name='message[user]' value=''/></td>
    </tr>
    <tr>
      <td>Subject:</td>
      <td><input type='text' name='message[subject]' value=''/></td>
    </tr>
    <tr>
	  <td>Body:</td>
	  <td><textarea name='message[body]'></textarea></td>
	</tr>
	<tr>
      <td></td><td><input type='submit' value="Create"></td>
    </tr>
  </table>
</form>
<h2>Get Messages</h2>
<p>Enter a limit and offset to get a range of messages.
</p>
<form id='getMessages'>
    Offset <input type='text' name='params[offset]' value='0'/>
    Limit <input type='text' name='params[limit]' value='5'/>
    <input type="submit" value="Get Messages"/>
</form>
<div id='messages'></div>
